package Gui;

import java.awt.Color;
import java.awt.GridLayout;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.JTree;

public class NewSubnetContentPanelView extends JPanel {
	private static final long serialVersionUID = 1L;
	final static String Panel_Name = "Subnetze";
	private IPTextArea hostIpArea;
	private IPTextArea subnetzIPArea;
	
	
	public NewSubnetContentPanelView(String r, int b, int g){
		this.setName(Panel_Name);
		this.setLayout(new GridLayout(3, 1));
		this.add(HostArea());
		this.add(Subnet());
		
		
	}
	
	public JPanel HostArea(){
	
	JPanel hostPan = new JPanel();
	hostPan.setLayout(new GridLayout(3,1,0,5));
	
	JLabel name = new JLabel("Host Adresse");
	hostPan.add(name);
	hostIpArea = new IPTextArea();
	hostPan.add(hostIpArea);
	name = new JLabel("Subnetz Maske");
	hostPan.add(name);
	subnetzIPArea = new IPTextArea();
	hostPan.add(subnetzIPArea);
	return hostPan;
	}
	
	public JPanel Subnet(){
	JPanel subnetPanel = new JPanel();
	
	return subnetPanel;
	}
	
	
}
